package com.gonsin.gview.annotations.interfaces;

import com.gonsin.gview.annotations.GContext;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * 确定是否进行某种操作的回调
 */
public interface IConfirmActionListener {

    /**
     * 按钮点击回调
     */
    void onClick(GContext context, String buttonId, HttpServletRequest request, HttpServletResponse response, Map<String, Object> props) throws Throwable;

}
